package com.jhc.drone.communication.processor;

import com.jhc.drone.communication.mavlink.Parser;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;


public interface MessageProcessor {

    Parser parser = new Parser();

    void unpack(ByteBuf data, Channel channel);

    byte[] pack(Object data);

    void send(byte[] data, String sn);

    void sendBySysId(byte[] data, Integer sysId);
}
